<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>新增分销员</title>
    <link href="https://cdn.jsdelivr.net/npm/tailwindcss@2.2.19/dist/tailwind.min.css" rel="stylesheet">
</head>
<body class="bg-gray-100">
    <div class="min-h-screen">
        <header class="bg-white shadow">
            <div class="max-w-7xl mx-auto py-6 px-4">
                <div class="flex justify-between items-center">
                    <h1 class="text-2xl font-bold text-gray-900">新增分销员</h1>
                </div>
            </div>
        </header>

        <main class="max-w-7xl mx-auto py-6 sm:px-6 lg:px-8">
            <div class="bg-white shadow rounded-lg p-6">
                <form class="space-y-6">
                    <!-- 基本信息 -->
                    <div class="border-b pb-6">
                        <h2 class="text-lg font-bold mb-4">基本信息</h2>
                        <div class="grid grid-cols-2 gap-6">
                            <div>
                                <label class="block text-sm font-medium text-gray-700 mb-2">手机号</label>
                                <input type="tel" class="w-full border rounded-md px-4 py-2" placeholder="请输入手机号">
                            </div>
                            <div>
                                <label class="block text-sm font-medium text-gray-700 mb-2">姓名</label>
                                <input type="text" class="w-full border rounded-md px-4 py-2" placeholder="请输入姓名">
                            </div>
                            <div>
                                <label class="block text-sm font-medium text-gray-700 mb-2">所在地区</label>
                                <select class="w-full border rounded-md px-4 py-2">
                                    <option>请选择地区</option>
                                </select>
                            </div>
                            <div>
                                <label class="block text-sm font-medium text-gray-700 mb-2">身份证号</label>
                                <input type="text" class="w-full border rounded-md px-4 py-2" placeholder="请输入身份证号">
                            </div>
                        </div>
                    </div>

                    <!-- 分销设置 -->
                    <div class="border-b pb-6">
                        <h2 class="text-lg font-bold mb-4">分销设置</h2>
                        <div class="space-y-4">
                            <div>
                                <label class="block text-sm font-medium text-gray-700 mb-2">分销等级</label>
                                <select class="w-full border rounded-md px-4 py-2">
                                    <option>普通分销员</option>
                                    <option>高级分销员</option>
                                    <option>金牌分销员</option>
                                </select>
                            </div>
                            <div>
                                <label class="block text-sm font-medium text-gray-700 mb-2">佣金比例（%）</label>
                                <input type="number" class="w-full border rounded-md px-4 py-2" placeholder="请输入佣金比例">
                            </div>
                        </div>
                    </div>

                    <!-- 账户设置 -->
                    <div class="border-b pb-6">
                        <h2 class="text-lg font-bold mb-4">账户设置</h2>
                        <div class="space-y-4">
                            <div>
                                <label class="block text-sm font-medium text-gray-700 mb-2">提现方式</label>
                                <div class="space-y-2">
                                    <label class="flex items-center">
                                        <input type="radio" name="withdraw_method" class="h-4 w-4 text-blue-600">
                                        <span class="ml-2">微信零钱</span>
                                    </label>
                                    <label class="flex items-center">
                                        <input type="radio" name="withdraw_method" class="h-4 w-4 text-blue-600">
                                        <span class="ml-2">银行卡</span>
                                    </label>
                                </div>
                            </div>
                            <div>
                                <label class="block text-sm font-medium text-gray-700 mb-2">最低提现金额（元）</label>
                                <input type="number" class="w-full border rounded-md px-4 py-2" placeholder="请输入最低提现金额">
                            </div>
                        </div>
                    </div>

                    <!-- 备注信息 -->
                    <div class="border-b pb-6">
                        <h2 class="text-lg font-bold mb-4">备注信息</h2>
                        <textarea class="w-full border rounded-md px-4 py-2 h-24" placeholder="请输入备注信息"></textarea>
                    </div>

                    <!-- 提交按钮 -->
                    <div class="flex justify-center space-x-4">
                        <button type="button" class="px-6 py-2 border rounded-md">取消</button>
                        <button type="submit" class="px-6 py-2 bg-blue-600 text-white rounded-md">保存</button>
                    </div>
                </form>
            </div>
        </main>
    </div>
</body>
</html>